package com.ks.fission.service;

import com.ks.core.base.OperationContext;
import com.ks.core.dto.SearchCriteriaBase;
import com.ks.fission.controller.dto.TaskMemberRequest;
import com.ks.fission.entity.BFissionTaskMember;
import com.baomidou.mybatisplus.service.IService;

import java.util.Map;

/**
 * <p>
 * 裂变-会员分享记录 服务类
 * </p>
 *
 * @author kingdee123
 * @since 2020-12-21
 */
public interface IBFissionTaskMemberService extends IService<BFissionTaskMember> {

    /**
     * 管理端/应用端 任务领取清单查询接口
     * @param context
     * @param searchCriteriaBase
     * @return
     */
    Map<String, Object> selectIBFissionTaskMember(OperationContext context, SearchCriteriaBase searchCriteriaBase);


    /**
     * 会员分享
     * @param context
     * @param taskMemberRequest
     * @return
     */
    int addTaskMember(OperationContext context, TaskMemberRequest taskMemberRequest);
}
